package com.ilink.groundservice.entity.PO.langflowApp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.UUID;
import lombok.Data;

@Data

@TableName("tb_folder")
public class Folder implements Serializable {

    private static final long serialVersionUID = 1L;
    public static final String DEFAULT_FOLDER_DESCRIPTION = "Manage your own projects. Download and upload folders.";
    public static final String DEFAULT_FOLDER_NAME = "我的项目";
    @TableId(value = "folder_id",type = IdType.INPUT)
    private String folderId = UUID.randomUUID().toString();
    private String userId;
    private String name = DEFAULT_FOLDER_NAME;
    private String description = DEFAULT_FOLDER_DESCRIPTION;
    private String parentId;
}
